package com.blog.service.impl;

import com.blog.mapper.RolesMapper;
import com.blog.pojo.Roles;
import com.blog.service.RolesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: VE
 * @DATE: 2022/10/11 11:54
 * 描述:
 */
@Service
public class RolesServiceImpl implements RolesService  {

    @Autowired
    private RolesMapper rolesMapper;
    @Override
    public Object insert(Roles roles) {
        return null;
    }

    @Override
    public Object delete(int id) {
        return null;
    }

    @Override
    public Object update(Roles roles) {
        return null;
    }

    @Override
    public Roles load(int id) {
        return null;
    }

    @Override
    public List<Roles> getRolesListByAdminId(Integer adminId) {
        return rolesMapper.getRolesListByAdminId(adminId);
    }
}
